package org.chen.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 批量评论请求DTO
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BatchCommentRequestDTO {
    @NotEmpty(message = "目标URL列表不能为空")
    private List<String> targetUrls;
    
    @NotBlank(message = "评论内容不能为空")
    private String commentContent;
    
    @NotBlank(message = "昵称不能为空")
    private String nickname;
    
    @NotBlank(message = "邮箱不能为空")
    @Email(message = "邮箱格式不正确")
    private String email;
    
    private String websiteUrl;
}